//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "adminActions\fn_postinit.sqf"
#include <core_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

if (isServer) then {
	if (isNil QGVAR(OnPlayerConnectedEventId)) then { GVAR(OnPlayerConnectedEventId) = ["MSO_AA_ID", "onPlayerConnected", {[_id,_name,_uid] call FUNC(opc);}] call BIS_fnc_addStackedEventHandler; };
	if (isNil QGVAR(OnPlayerDisconnectedEventId)) then { GVAR(OnPlayerDisconnectedEventId) = ["MSO_AA_ID", "onPlayerDisconnected", {[_id,_name,_uid] call FUNC(opd);}] call BIS_fnc_addStackedEventHandler; };
	TRACE_2("Added onPlayer Events",GVAR(OnPlayerConnectedEventId),GVAR(OnPlayerDisconnectedEventId));
};

TRACE("End");
TMFPROFILERSTOP;
